
package info.neocron.service.SessionManagement;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for SessionDetails complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="SessionDetails">
 *   &lt;complexContent>
 *     &lt;extension base="{http://services.neocron.info/}BasicResult">
 *       &lt;sequence>
 *         &lt;element name="Identifier" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
 *         &lt;element name="Token" type="{http://microsoft.com/wsdl/types/}guid"/>
 *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Tries" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
 *         &lt;element name="LockedUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         &lt;element name="ValidUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         &lt;element name="IsLoggedIn" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="IsGameMaster" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="GameMasterRank" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
 *         &lt;element name="AccountId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
 *         &lt;element name="ValidityTimeSpan" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SessionDetails", propOrder = {
    "identifier",
    "token",
    "name",
    "tries",
    "lockedUntil",
    "validUntil",
    "isLoggedIn",
    "isGameMaster",
    "gameMasterRank",
    "accountId",
    "validityTimeSpan"
})
public class SessionDetails
    extends BasicResult
{

    @XmlElement(name = "Identifier")
    @XmlSchemaType(name = "unsignedInt")
    protected long identifier;
    @XmlElement(name = "Token", required = true)
    protected String token;
    @XmlElement(name = "Name")
    protected String name;
    @XmlElement(name = "Tries")
    @XmlSchemaType(name = "unsignedInt")
    protected long tries;
    @XmlElement(name = "LockedUntil", required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar lockedUntil;
    @XmlElement(name = "ValidUntil", required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar validUntil;
    @XmlElement(name = "IsLoggedIn")
    protected boolean isLoggedIn;
    @XmlElement(name = "IsGameMaster")
    protected boolean isGameMaster;
    @XmlElement(name = "GameMasterRank")
    @XmlSchemaType(name = "unsignedInt")
    protected long gameMasterRank;
    @XmlElement(name = "AccountId")
    @XmlSchemaType(name = "unsignedInt")
    protected long accountId;
    @XmlElement(name = "ValidityTimeSpan")
    protected String validityTimeSpan;

    /**
     * Gets the value of the identifier property.
     * 
     */
    public long getIdentifier() {
        return identifier;
    }

    /**
     * Sets the value of the identifier property.
     * 
     */
    public void setIdentifier(long value) {
        this.identifier = value;
    }

    /**
     * Gets the value of the token property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getToken() {
        return token;
    }

    /**
     * Sets the value of the token property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setToken(String value) {
        this.token = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the tries property.
     * 
     */
    public long getTries() {
        return tries;
    }

    /**
     * Sets the value of the tries property.
     * 
     */
    public void setTries(long value) {
        this.tries = value;
    }

    /**
     * Gets the value of the lockedUntil property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getLockedUntil() {
        return lockedUntil;
    }

    /**
     * Sets the value of the lockedUntil property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setLockedUntil(XMLGregorianCalendar value) {
        this.lockedUntil = value;
    }

    /**
     * Gets the value of the validUntil property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getValidUntil() {
        return validUntil;
    }

    /**
     * Sets the value of the validUntil property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setValidUntil(XMLGregorianCalendar value) {
        this.validUntil = value;
    }

    /**
     * Gets the value of the isLoggedIn property.
     * 
     */
    public boolean isIsLoggedIn() {
        return isLoggedIn;
    }

    /**
     * Sets the value of the isLoggedIn property.
     * 
     */
    public void setIsLoggedIn(boolean value) {
        this.isLoggedIn = value;
    }

    /**
     * Gets the value of the isGameMaster property.
     * 
     */
    public boolean isIsGameMaster() {
        return isGameMaster;
    }

    /**
     * Sets the value of the isGameMaster property.
     * 
     */
    public void setIsGameMaster(boolean value) {
        this.isGameMaster = value;
    }

    /**
     * Gets the value of the gameMasterRank property.
     * 
     */
    public long getGameMasterRank() {
        return gameMasterRank;
    }

    /**
     * Sets the value of the gameMasterRank property.
     * 
     */
    public void setGameMasterRank(long value) {
        this.gameMasterRank = value;
    }

    /**
     * Gets the value of the accountId property.
     * 
     */
    public long getAccountId() {
        return accountId;
    }

    /**
     * Sets the value of the accountId property.
     * 
     */
    public void setAccountId(long value) {
        this.accountId = value;
    }

    /**
     * Gets the value of the validityTimeSpan property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getValidityTimeSpan() {
        return validityTimeSpan;
    }

    /**
     * Sets the value of the validityTimeSpan property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setValidityTimeSpan(String value) {
        this.validityTimeSpan = value;
    }

}
